﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace lcs.Web.out_storageList
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int out_storageList_id=(Convert.ToInt32(strid));
					ShowInfo(out_storageList_id);
				}
			}
		}
		
	private void ShowInfo(int out_storageList_id)
	{
		lcs.BLL.out_storageList bll=new lcs.BLL.out_storageList();
		lcs.Model.out_storageList model=bll.GetModel(out_storageList_id);
		this.lblout_storageList_id.Text=model.out_storageList_id.ToString();
		this.lblmaterial_id.Text=model.material_id.ToString();
		this.lblout_storage_Estimate.Text=model.out_storage_Estimate.ToString();
		this.lblout_storage_count.Text=model.out_storage_count.ToString();
		this.lblmaterial_user_id.Text=model.material_user_id.ToString();
		this.lblcheck_user_id.Text=model.check_user_id.ToString();
		this.lblcheck_status.Text=model.check_status;
		this.lbldeal_status.Text=model.deal_status;

	}


    }
}
